// Author: Bjorn Schobben

#ifndef RECT_H
#define RECT_H

#include "Vector.h"
#include "Pixel.h"
#include <vector>

class Rect
{
public:
	Rect();
	Rect(const Vector& topLeft, const Vector& bottomRight);
	Rect(const Rect& rhs);
	virtual ~Rect();

	const Vector& GetTopLeft() const;
	const Vector& GetBottomRight() const;

	void SetTopLeft(const Vector& v);
	void SetBottomRight(const Vector& v);
	void SetColor(const Pixel& ncolor);
	const Pixel& GetColor() const;

	Rect& operator=(const Rect& rhs);

private:
	Pixel color;
	Vector topLeft, bottomRight;
};

#endif //RECT_H

